﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_CLAIMITEM.cs
// 项目名称：Lovol 
// 创建时间：2011/9/21
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_CLAIMITEM数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_CLAIMITEM", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_CLAIMITEM", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_CLAIMITEM_Entity
	{
		#region 变量定义		
		///<summary>
		///索赔项目编号
		///</summary>
		private long _cLAIMITEM;
		///<summary>
		///作业人
		///</summary>
		private string _wORKERNAME = String.Empty;
		///<summary>
		///工时费
		///</summary>
		private decimal? _wORKFEE = 0;
		///<summary>
		///工时定额
		///</summary>
		private decimal? _wORKHOUR = 0;
		///<summary>
		///维修项目状态
		///</summary>
		private long? _iTEMSTATUS = 0;
		///<summary>
		///维修项目状态名
		///</summary>
		private string _iTEMSTATUSNAME = String.Empty;
		///<summary>
		///主单ID
		///</summary>
		private string _pARENTID = String.Empty;
		///<summary>
		///备注
		///</summary>
		private string _rEMARK = String.Empty;
		///<summary>
		///措施类型
		///</summary>
		private long? _sTEPTYPE = 0;
		///<summary>
		///措施类型名称
		///</summary>
		private string _sTEPTYPENAME = String.Empty;
		///<summary>
		///作业项目编号
		///</summary>
		private string _wORKITEMCODE = String.Empty;
		///<summary>
		///作业项目ID
		///</summary>
		private string _wORKITEMID = String.Empty;
		///<summary>
		///作业项目名称
		///</summary>
		private string _wORKITEMNAME = String.Empty;
		///<summary>
		///工时费单价
		///</summary>
		private decimal? _wORKPRICE = 0;
		///<summary>
		///故障件编号
		///</summary>
		private string _cAUSEMATERIALCODE = String.Empty;
		///<summary>
		///故障件名称
		///</summary>
		private string _cAUSEMATERIALNAME = String.Empty;
		///<summary>
		///故障原因编号
		///</summary>
		private string _fAULTREASONCODE = String.Empty;
		///<summary>
		///故障原因名称
		///</summary>
		private string _fAULTREASONNAME = String.Empty;
		///<summary>
		///故障原因ID
		///</summary>
		private string _fAULTREASONID = String.Empty;
		///<summary>
		///工作项目类别
		///</summary>
		private string _wORKITEMKIND = String.Empty;
		///<summary>
		///工时
		///</summary>
		private long? _wORKERNUMBER = 0;
		///<summary>
		///事业部编号
		///</summary>
		private long? _bUSINESSDIVISIONID = 0;
		///<summary>
		///事业部名称
		///</summary>
		private string _bUSINESSDIVISIONNAME = String.Empty;
		///<summary>
		///事业部代码
		///</summary>
		private string _bUSINESSDIVISIONCODE = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_CLAIMITEM_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///索赔项目编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_CLAIMITEM")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public long CLAIMITEM
		{
			get {return _cLAIMITEM;}
			set { _cLAIMITEM = value; }
			
		}

		///<summary>
		///作业人
		///</summary>		
		public string WORKERNAME
		{
			get {return _wORKERNAME;}
			set {
					_wORKERNAME = value;
				}
			
		}

		///<summary>
		///工时费
		///</summary>		
		public decimal? WORKFEE
		{
			get {return _wORKFEE;}
			set { _wORKFEE = value; }
			
		}

		///<summary>
		///工时定额
		///</summary>		
		public decimal? WORKHOUR
		{
			get {return _wORKHOUR;}
			set { _wORKHOUR = value; }
			
		}

		///<summary>
		///维修项目状态
		///</summary>		
		public long? ITEMSTATUS
		{
			get {return _iTEMSTATUS;}
			set { _iTEMSTATUS = value; }
			
		}

		///<summary>
		///维修项目状态名
		///</summary>		
		public string ITEMSTATUSNAME
		{
			get {return _iTEMSTATUSNAME;}
			set {
					_iTEMSTATUSNAME = value;
				}
			
		}

		///<summary>
		///主单ID
		///</summary>		
		public string PARENTID
		{
			get {return _pARENTID;}
			set {
					_pARENTID = value;
				}
			
		}

		///<summary>
		///备注
		///</summary>		
		public string REMARK
		{
			get {return _rEMARK;}
			set {
					_rEMARK = value;
				}
			
		}

		///<summary>
		///措施类型
		///</summary>		
		public long? STEPTYPE
		{
			get {return _sTEPTYPE;}
			set { _sTEPTYPE = value; }
			
		}

		///<summary>
		///措施类型名称
		///</summary>		
		public string STEPTYPENAME
		{
			get {return _sTEPTYPENAME;}
			set {
					_sTEPTYPENAME = value;
				}
			
		}

		///<summary>
		///作业项目编号
		///</summary>		
		public string WORKITEMCODE
		{
			get {return _wORKITEMCODE;}
			set {
					_wORKITEMCODE = value;
				}
			
		}

		///<summary>
		///作业项目ID
		///</summary>		
		public string WORKITEMID
		{
			get {return _wORKITEMID;}
			set {
					_wORKITEMID = value;
				}
			
		}

		///<summary>
		///作业项目名称
		///</summary>		
		public string WORKITEMNAME
		{
			get {return _wORKITEMNAME;}
			set {
					_wORKITEMNAME = value;
				}
			
		}

		///<summary>
		///工时费单价
		///</summary>		
		public decimal? WORKPRICE
		{
			get {return _wORKPRICE;}
			set { _wORKPRICE = value; }
			
		}

		///<summary>
		///故障件编号
		///</summary>		
		public string CAUSEMATERIALCODE
		{
			get {return _cAUSEMATERIALCODE;}
			set {
					_cAUSEMATERIALCODE = value;
				}
			
		}

		///<summary>
		///故障件名称
		///</summary>		
		public string CAUSEMATERIALNAME
		{
			get {return _cAUSEMATERIALNAME;}
			set {
					_cAUSEMATERIALNAME = value;
				}
			
		}

		///<summary>
		///故障原因编号
		///</summary>		
		public string FAULTREASONCODE
		{
			get {return _fAULTREASONCODE;}
			set {
					_fAULTREASONCODE = value;
				}
			
		}

		///<summary>
		///故障原因名称
		///</summary>		
		public string FAULTREASONNAME
		{
			get {return _fAULTREASONNAME;}
			set {
					_fAULTREASONNAME = value;
				}
			
		}

		///<summary>
		///故障原因ID
		///</summary>		
		public string FAULTREASONID
		{
			get {return _fAULTREASONID;}
			set {
					_fAULTREASONID = value;
				}
			
		}

		///<summary>
		///工作项目类别
		///</summary>		
		public string WORKITEMKIND
		{
			get {return _wORKITEMKIND;}
			set {
					_wORKITEMKIND = value;
				}
			
		}

		///<summary>
		///工时
		///</summary>		
		public long? WORKERNUMBER
		{
			get {return _wORKERNUMBER;}
			set { _wORKERNUMBER = value; }
			
		}

		///<summary>
		///事业部编号
		///</summary>		
		public long? BUSINESSDIVISIONID
		{
			get {return _bUSINESSDIVISIONID;}
			set { _bUSINESSDIVISIONID = value; }
			
		}

		///<summary>
		///事业部名称
		///</summary>		
		public string BUSINESSDIVISIONNAME
		{
			get {return _bUSINESSDIVISIONNAME;}
			set {
					_bUSINESSDIVISIONNAME = value;
				}
			
		}

		///<summary>
		///事业部代码
		///</summary>		
		public string BUSINESSDIVISIONCODE
		{
			get {return _bUSINESSDIVISIONCODE;}
			set {
					_bUSINESSDIVISIONCODE = value;
				}
			
		}
		
		
		#endregion
		
	}
}
